package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-1-19.
 */
public class ICertAddress extends ICtrl implements Serializable
{
    public ICertAddress ()
    {
        back = false;
        method = "";
        errorinfo = "";

        start = 0;
        count = 0;
    }

    public ICertAddress ( boolean back, String errorinfo )
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }

    public ICertAddress ( String method, int caddr_id, int member_id )
    {
        this();

        this.method = method;
        this.caddr_id = caddr_id;
        this.member_id = member_id;
    }

    public ICertAddress (
            String method,
            int caddr_id,
            int member_id,
            int gi_id,
            String gi_addon,
            String gi_text,
            String zip_code,
            String contacts,
            String mobile,
            String phone
    )
    {
        this ();

        this.caddr_id = caddr_id;
        this.method = method;
        this.member_id = member_id;
        this.gi_id = gi_id;
        this.gi_addon = gi_addon;
        this.gi_text = gi_text;
        this.zip_code = zip_code;
        this.contacts = contacts;
        this.mobile = mobile;
        this.phone = phone;
    }
    public ICertAddress (
            String method,
            int caddr_id,
            int member_id,
            int gi_id,
            String gi_addon,
            String gi_text,
            String zip_code,
            String contacts,
            String mobile,
            String phone,
            String cert_status
    )
    {
        this ();

        this.caddr_id = caddr_id;
        this.method = method;
        this.member_id = member_id;
        this.gi_id = gi_id;
        this.gi_addon = gi_addon;
        this.gi_text = gi_text;
        this.zip_code = zip_code;
        this.contacts = contacts;
        this.mobile = mobile;
        this.phone = phone;
        this.cert_status = cert_status;
    }
    private static final long serialVersionUID = 1500001L;



    public int caddr_id;
    public int member_id;
    public int gi_id;
    public String gi_addon;
    public String gi_text;
    public String zip_code;
    public String contacts;
    public String mobile;
    public String phone;
    public String cert_status;
    public String cert_date;
    public int cert_id;
    public int def_status;
    public String create_date;
    public int create_id;
    public String expire_date;
    public String close_date;
    public int close_id;


}
